package com.seele.tigerwallet.ui.views;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Typeface;
import android.util.AttributeSet;


public class ItemGradientTextView extends android.support.v7.widget.AppCompatTextView {



    Typeface font;


    public ItemGradientTextView(Context context) {
        super(context);
    }

    public ItemGradientTextView(Context context,
                            AttributeSet attrs) {
        super(context, attrs);
    }

    public ItemGradientTextView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        font= Typeface.createFromAsset(context.getAssets(), "fonts/CENTURY_GOTHIC_BOLD.TTF");
        setTypeface(font);//设置字



    }

    @Override
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
        super.onLayout(changed, left, top, right, bottom);
    }


    @Override
    protected void onDraw(Canvas canvas) {




        super.onDraw(canvas);
    }
}
